package com.stockz.equity.indicator.vsa.analyzer;

import java.util.List;

import com.stockz.equity.indicator.vsa.VsaBar;
import com.stockz.equity.indicator.vsa.pattern.VsaPattern;
import com.stockz.equity.model.Bar;

public class VsaPatternAnalyzer {
	
	public List<VsaBar> analyze(List<Bar> barList,List<VsaBar> vsaBarList){
		for(int i = 0; i < vsaBarList.size(); i++){
			for(VsaPattern vsaPattern : VsaPattern.values()){
				vsaPattern.analyze(barList,vsaBarList, i);
			}
		}
		return vsaBarList;
	}
}
